package com.itheima.many_many.mapper;

import com.itheima.many_many.domain.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentMapper {
    @Select("select * from stu_course sc,student s where sc.`sid` = s.`id` and sc.`cid` = #{id}")
    List<Student> selectBySid(Integer sid);


}
